package com.ozo.cloud.api.system.feign;

import com.ozo.cloud.api.system.vo.SysConfigVO;
import com.ozo.cloud.common.base.model.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 配置服务调用
 *
 * @author qiangesoft
 * @date 2024-09-11
 */
@FeignClient(name = "ozo-cloud-system", contextId = "sysConfigFeignClient", path = "/system")
public interface SysConfigFeignClient {

    @GetMapping("/config/list")
    ResultVO<List<SysConfigVO>> listConfig();

}
